#include "ast.hpp"

SymbolList     SYMBOL_LIST;
ExpressionList EXPRESSION_LIST;

const std::map<std::string, OperatorType> STR2OP = {{"+", OperatorType::uadd},
                                                    {"-", OperatorType::uminus},
                                                    {"!", OperatorType::lnot}};

const std::map<OperatorType, const char*> OP2STR = {{OperatorType::uadd, "+"},
                                                    {OperatorType::uminus, "-"},
                                                    {OperatorType::lnot, "!"}};